﻿namespace MQTTServer.Models
{
    /// <summary>
    /// 播放语音文件
    /// </summary>
    public class Voiceplay
    {
        /// <summary>
        ///  播放语音文件
        /// </summary>
        public string @operator { get; set; }

        /// <summary>
        /// 消息 id,区分每一条消
        /// </summary>
        public string messageId { get; set; }

        /// <summary>
        ///  VoiceplayInfo
        /// </summary>
        public VoiceplayInfo info { get; set; }
    }

    public class VoiceplayInfo
    {
        /// <summary>
        ///  1:播放一体机原有声音文件 2:播放一体机客户自定义声音文件
        /// </summary>
        public UsrType UsrType { get; set; }
        /// <summary>
        ///  需要播放的声音文件名
        /// </summary>
        public string voicetype { get; set; }
    }
}